<div class="am-u-md-8 am-u-sm-centered">
    <form action="" method="POST" class="ajax-submit" data-am-validator>
        <ul class="am-list">
            <li class="am-padding-xs">
                <ol class="am-breadcrumb am-margin-0 am-padding-0">
                    <li><a href="/">首页</a></li>
                    <li class="am-active">
                        <?= $title; ?>
                    </li>
                </ol>
            </li>
            <?php if (ACTION == 'signup'): ?>
                <li class="am-padding-xs ">
                    名字
                </li>
                <li>
                    <input name="name" class="tm-remove-border tm-input-background-color am-form-field" type="text" placeholder="显示的名字" required>
                </li>
            <?php endif; ?>
            <li class="am-padding-xs ">
                邮箱地址
            </li>
            <li>
                <input name="mail" class="tm-remove-border tm-input-background-color am-form-field" type="email" placeholder="登录用的邮箱地址" required>
            </li>
            <li class="am-padding-xs ">
                密码
            </li>
            <li>
                <input name="passwd" class="tm-remove-border tm-input-background-color am-form-field" type="password" placeholder="登录用的密码" required>
            </li>
            <?php if (ACTION == 'signup'): ?>
                <li class="am-padding-xs ">
                    确认密码
                </li>
                <li>
                    <input name="repasswd" class="tm-remove-border tm-input-background-color am-form-field" type="password" placeholder="再次确认密码" required>
                </li>
            <?php endif; ?>

            <li class="am-padding-xs ">
                验证码
                <span class="am-text-xs">(不分大小写)</span><img src="/verify/fuckyou" class="am-margin-left refresh-verify" height="20"/>
            </li>
            <li>
                <input name="verify" class="tm-remove-border tm-input-background-color am-form-field" type="text" placeholder="验证码" required>
            </li>
            <li class="am-padding-xs am-text-center">
                <button class="am-btn  am-btn-xs am-btn-primary">提交</button>
                <?php if (ACTION == 'login'): ?>
                    <a href="<?= $label->url('Master-Login-findPassword'); ?>" class="am-text-xs am-inline-block">忘记密码</a>
                <?php endif; ?>
            </li>
        </ul>
    </form>
</div>
